<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>KAA电商管理后台_订单详情</title>
	<script src="${path}/js/jquery-2.1.1.min.js"></script>
	<script src="${path}/js/sidebar-menu.js"></script>
	<script src="${path}/js/uploadPreview.js"></script>
	<link href="${path}/css/login.css" rel="stylesheet" media="all">
</head>
<body class="main">
	<h1>KAA电商管理后台</h1>
	<jsp:include page="sidebarNav.jsp"></jsp:include><!-- main_sidebar -->

	<div class="main_con_wrap">
		<form id="form" name="form" action="${path}/updateOrder">
			<input id="id" name="id" value="${orderAddress.id}" style="display:none">
		<div class="main_con orderedit_wrap">
			<p>
				<span class="title fl">订单号：</span>
				<input id="orderedit_1" type="text" class="orderedit_txt" name="orderCode" value="${orderAddress.orderCode}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">下单时间：</span>
				<input id="orderedit_2" type="text" class="orderedit_txt" name="startDate" readonly="readonly" value="${orderAddress.startDate} "/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">付款状态：</span>
				<input id="orderedit_3" type="text" class="orderedit_txt" name="paymentStatus" value="${orderAddress.paymentStatus}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">付款时间：</span>
				<input id="orderedit_4" type="text" class="orderedit_txt" name="paymentTime" readonly="readonly" value="${orderAddress.paymentTime}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">审核状态：</span>
				<input id="orderedit_5" type="text" class="orderedit_txt" name="toExamineStatus" value="${orderAddress.toExamineStatus}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">发货状态：</span>
				<input id="orderedit_6" type="text" class="orderedit_txt" name="sendStatus" value="${orderAddress.sendStatus}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">订单类型：</span>
				<input id="orderedit_7" type="text" class="orderedit_txt" name="orderType" value="${orderAddress.orderType}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">支付方式：</span>
				<input id="orderedit_8" type="text" class="orderedit_txt" name="paymentType" value="${orderAddress.paymentType}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">开票：</span>
				<%--<c:if test="${orderAddress.invoice==1}">
					<input id="orderedit_9" type="text" class="orderedit_txt" readonly="readonly" value="已开票"/>
				</c:if>
				<c:if test="${orderAddress.invoice==0}">
					<input id="orderedit_9" type="text" class="orderedit_txt"readonly="readonly"  value="未开票"/>
				</c:if>--%>
				<select id="orderlist_delistatus" name="invoice">
					<option value="1"${orderAddress.invoice == 1 ? 'selected':""}>已开票</option>
					<option value="0"${orderAddress.invoice == 0 ? 'selected':""}>未开票</option>
				</select>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">金额：</span>
				<input id="orderedit_10" type="text" class="orderedit_txt" name="totalMoney" value="${orderAddress.totalMoney}"/>
				<span class="clear"></span>
			</p>
			
			<p>
				<span class="title fl">发货地址：</span>
				<input id="orderedit_11" type="text" class="orderedit_txt" name="detailed" value="${orderAddress.detailed}"/>
				<span class="clear"></span>
			</p>
			<button name="button" class="orderedit_btn btn" type="submit" id="orderedit_btn">保存</button>
		</div><!-- main_con -->
		</form>
	</div><!-- main_con_wrap -->

	<div class="footer_copyright">
		<p>苏州知行合一网络科技有限公司提供技术支持，版权所有</p>
	</div><!-- footer_copyright -->

<script>
	/////////////////////////侧边栏按钮
	$.sidebarMenu($('.sidebar-menu'))
	
</script>
</body>
</html>